﻿namespace WMS6.Web.RoleFunctionServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Data;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.ServiceModel.Channels;

    [DebuggerStepThrough, GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public class RoleFunctionServiceClient : ClientBase<IRoleFunctionService>, IRoleFunctionService
    {
        public RoleFunctionServiceClient()
        {
        }

        public RoleFunctionServiceClient(string endpointConfigurationName) : base(endpointConfigurationName)
        {
        }

        public RoleFunctionServiceClient(Binding binding, EndpointAddress remoteAddress) : base(binding, remoteAddress)
        {
        }

        public RoleFunctionServiceClient(string endpointConfigurationName, EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress)
        {
        }

        public RoleFunctionServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress)
        {
        }

        public string DeleteRoleAndRoleFunction(List<string> roleID, PubParasInfo pubParasInfo)
        {
            return base.Channel.DeleteRoleAndRoleFunction(roleID, pubParasInfo);
        }

        public DataSet GetAllFunctionList()
        {
            return base.Channel.GetAllFunctionList();
        }

        public List<string> GetOperationByUserIDAndFunctionID(string userID, string functionID, PubParasInfo pubParasInfo)
        {
            return base.Channel.GetOperationByUserIDAndFunctionID(userID, functionID, pubParasInfo);
        }

        public DataSet GetRoleAndRoleFunctionDataByRoleId(string roleId, PubParasInfo pubParasInfo)
        {
            return base.Channel.GetRoleAndRoleFunctionDataByRoleId(roleId, pubParasInfo);
        }

        public DataSet GetRoleFunctionData(string id, string type, PubParasInfo pubParasInfo)
        {
            return base.Channel.GetRoleFunctionData(id, type, pubParasInfo);
        }

        public DataSet GetRoleMenuData(string roleID, string currentWH, string isShowQuery, PubParasInfo pubParasInfo)
        {
            return base.Channel.GetRoleMenuData(roleID, currentWH, isShowQuery, pubParasInfo);
        }

        public DataSet GetWHDataByUserID(string userID, PubParasInfo pubParasInfo)
        {
            return base.Channel.GetWHDataByUserID(userID, pubParasInfo);
        }

        public string UpdateRoleFunctionAndOperationByRoleGID(string type, RoleInfo roleInfo, List<string> FunctionTrueList, List<string> FunctionFalseList, List<string> OperationTrueList, List<string> OperationFalseList, string strCopyName, PubParasInfo pubParasInfo)
        {
            return base.Channel.UpdateRoleFunctionAndOperationByRoleGID(type, roleInfo, FunctionTrueList, FunctionFalseList, OperationTrueList, OperationFalseList, strCopyName, pubParasInfo);
        }
    }
}

